import { defineComponent } from 'vue'
import Draw from './draw'
// 声明类型
const PropsType = {
  tableConfig: {
    type: Object,
    require: true
  },
} as const
export default defineComponent({
  components: {
    Draw
  },
  props: PropsType,
  setup(props) {
    return () => {
      return <div>
        <Draw tableConfig={props.tableConfig} />
      </div>
    }
  }
})